package com.cxl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cxl.entity.Type;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 崔学磊
 * @since 2022-03-16
 */
@Repository
public interface TypeMapper extends BaseMapper<Type> {


    @Select("select * from t_type ")
    List<Type> findAll();
}
